package galaxies.sectors;


import java.util.HashMap;

import com.jme3.asset.AssetManager;
import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.texture.Texture;

import tiles.HexTileView;
import view.EViewList;
import view.AbstractView;
import view.View;


public class SectorViewBuilder {

	public SectorViewBuilder() {}
	
	public HashMap<EViewList, AbstractView> buildViews(AssetManager assets) {
		
		HashMap<EViewList, AbstractView> views = new HashMap<EViewList, AbstractView>();
		
		//Create views
		//-----------------------------------------
		Material mat = new Material(assets, "Common/MatDefs/Misc/Unshaded.j3md");
		Texture tex = null;//assets.loadTexture("assets/Graphics/Map/HexTileLarge.png");
		//mat.setTexture("ColorMap", tex);
		mat.setColor("Color", ColorRGBA.Green);
		SectorView defaultView = new SectorView(EViewList.DEFAULT, mat);
		views.put(defaultView.getName(), defaultView);
		
		//next view
		//etc...
		
		
		//-----------------------------------------
		
		
		return views;
		
	}
	
	
}
